package com.boc.ewr.business.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import com.boc.ewr.business.entity.AcctDtlClassC;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * @Description: C类账户明细
 * @Author: jeecg-boot
 * @Date:   2023-05-26
 * @Version: V1.0
 */
public interface AcctDtlClassCMapper extends BaseMapper<AcctDtlClassC> {

    @Select("select cud.*, qcc.* from ACCT_UNCA_DTL cud INNER JOIN QCC_QRY_ALL qcc ON cud.CUSM_NM = qcc.CORE_NM where cud.PROTOCOL_TYPE in ('1', '2') and cud.BALANCE < '100000'")
    List<AcctDtlClassC> creatInfo();
}
